package com.yhd.mapper;


import com.yhd.entity.TSystemDictionary;
import com.yhd.entity.dto.SystemDictionaryDto;
import com.yhd.entity.query.SystemDictionaryVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SysDictMapper extends Mapper<TSystemDictionary> {


    /**
     * 获取字典列表
     * @param systemDictionaryVO
     * @return
     */
    List<SystemDictionaryDto> selectSysDictList(SystemDictionaryVO systemDictionaryVO);

    /**
     * 获取详情
     * @param id
     * @return
     */
    TSystemDictionary selectSysDictInfo(@Param("id") String id);

    /**
     * 获取全部分类
     * @param systemDictionaryVO
     * @return
     */
    List<SystemDictionaryDto> selectAllClassifyList(SystemDictionaryVO systemDictionaryVO);

}